ModifyTagWithUuid
Description
call the ModifyTagWithUuid interface to modify the relationship between the tag and the server or cloud product.
Request Method
POST
Request Path
/apsara/route/Sas/ModifyTagWithUuid
Request Parameters Common Parameters
Name | Location | Type | Required | Sample value | Description |
---|---|---|---|---|---|
regionId | BODY | string | Yes | No sample value for this parameter. | region id |
UuidList | BODY | string | No | 111-xx,aa-bb | unique ID list of asset instances. description when modifying the relationship between the asset label and the asset, you need to provide the unique identification ID of the asset instance to be modified, which can be obtained by calling the DescribeCloudCenterInstances interface. |
MachineTypes | BODY | string | No | ecs | asset type. Valid values include: ecs: server cloud_product: cloud product |
TagId | BODY | string | No | 7E0618A9-D5EF-4220-9471-C42B5E92719F | tag ID. description if you modify the relationship between an asset label and an asset, you need to provide an asset label ID, which can be obtained by calling the DescribeGroupedTags interface. |
TagList | BODY | string | Yes | ac,ad | tag name list. description when modifying the relationship between asset labels and assets, you need to provide asset label list information. the label name can be obtained by calling the DescribeGroupedTags interface. |
version | BODY | string | No | 2016-01-01 | version of api |
Return data
Name | Type | Sample value | Description |
---|---|---|---|
RequestId | string | 7E0618A9-D5EF-4220-9471-C42B5E92719F | request ID. |
Example
Successful Response example
{
"RequestId":"7E0618A9-D5EF-4220-9471-C42B5E92719F"
}
Failed Response example
{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}
}